package com.zs.games.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zs.games.entity.GameNews;
import com.zs.games.vo.GameNewVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface GameNewsMapper extends BaseMapper<GameNews> {

    int updatePraiseOrCollect(Integer praise,Integer collect,Integer newId);

    IPage<GameNewVo> findGameNewPage(IPage<GameNewVo> page, Integer userId);
}
